﻿using System.Threading.Tasks;
using com.IronOne.BoardPACWinAppBO.Settings;

namespace com.IronOne.BoardPACWinAppService.Init
{
    public interface IInitService
    {
        bool CreateGeneralDatabase();
        Task<AppSettingModel> ReadAppSettingsFromDb();
        Task<bool> WriteAppSettingsToDb(AppSettingModel asm);
        Task<bool> WriteDateFormatsNSyncFreqsToDb(AppSettingModel asm);
        Task<AppSettingModel> InitDevice(AppSettingModel apSettingModel);
        Task<bool> ServerUpCheck();
        Task<string> GetDateFormat();
    }
}